<?php
/**
 * Created by PhpStorm.
 * User: jocky
 * Date: 2017/7/20
 * Time: 下午1:07
 */
?>

<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <form class="form-horizontal form-label-left" id="agent_add_form">
            <div class="form-group">
                <label class="control-label col-md-3 col-sm-3 col-xs-12"> 姓名 </label>
                <div class="col-md-7 col-sm-7 col-xs-12">
                    <input type="text" name='alias' class="form-control"
                           placeholder="代理真实姓名" maxlength="12">
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-md-3 col-sm-3 col-xs-12"> 手机 </label>
                <div class="col-md-7 col-sm-7 col-xs-12">
                    <input type="text" name='telephone' class="form-control"
                           placeholder="手机号码" maxlength="12">
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-md-3 col-sm-3 col-xs-12">
                    密码 <span class="required">*</span>
                </label>
                <div class="col-md-7 col-sm-7 col-xs-12">
                    <input type="password" name="password" class="form-control"
                           placeholder="长度为6-12位" maxlength="12">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-3 col-sm-3 col-xs-12">
                    密码确认 <span class="required">*</span>
                </label>
                <div class="col-md-7 col-sm-7 col-xs-12">
                    <input type="password" name="password_confirm" class="form-control"
                           placeholder="长度为6-12位" maxlength="12">
                </div>
            </div>
            <?php
            echo \yii\helpers\Html::hiddenInput(
                Yii::$app->request->csrfParam,
                Yii::$app->request->getCsrfToken()
            );
            ?>
        </form>
    </div>
</div>
